package com.example.mapper;

import com.example.entity.Goods;
import com.example.entity.Gouwuche;
import org.apache.ibatis.annotations.Insert;

public interface GWCMapper {
    Goods findById(Integer id);
    @Insert("insert into gouwuche(goods_name,goods_price,goods_img,goods_number,goods_remark) values(#{goodsName},#{goodsPrice},#{goodsImg},#{goodsNumber},#{goodsRemark})")
    int insertGood(Gouwuche gwc);

    Goods findByName(String goodsName);
}
